/*******************************************************************************
*
*   FILE NAME:
*       Color.h - Color class definition
*
*   DESCRIPTION:
*       Represents a four-component color using red, green, blue, and alpha
*       data.
*
*******************************************************************************/
#include "Color.h"

Color::Color( void )
    : Red( 0.0f ),
      Green( 0.0f ),
      Blue( 0.0f ),
      Alpha( 1.0f )
{
}

Color::Color( float32 red, float32 green, float32 blue, float32 alpha )
    : Red( red ),
      Green( green ),
      Blue( blue ),
      Alpha( alpha )
{
}

Color::Color( const Color& other )
    : Red( other.Red ),
      Green( other.Green ),
      Blue( other.Blue ),
      Alpha( other.Alpha )
{
}

Color::~Color( void )
{
}

Color& Color::operator=( const Color& other )
{
    Red = other.Red;
    Green = other.Green;
    Blue = other.Blue;
    Alpha = other.Alpha;

    return *this;
}
